package com.muchfish.reactor.api;

import reactor.core.publisher.Mono;

public class MonoSinkExample {
    public static void main(String[] args) {
        Mono.create(monoSink -> {
                    monoSink.success("Hello, Mono!"); // 发送元素
                })
                .subscribe(System.out::println);
    }
}
